﻿using MaxAlarm.Common.Data;

namespace MaxAlarm.Common.Alarms
{
    public abstract class AlarmActionBase
    {
        public abstract AlarmAction Action { get; }
        public abstract void Execute();

        public AlarmItem Item { get; protected set; }

        protected AlarmActionBase(AlarmItem item)
        {
            Item = item;
        }
    }
}
